package r21310.chap06.d1116;

public class Demo02 {
    public static void main(String[] args) {
        String[] arr={"刘备","关羽","张飞"};
        for (int i = 0; i < arr.length; i++) {
            System.out.print(arr[i]);}


        for (String i:arr){
                System.out.print(i);
            }
        }


}

